#pragma once

#include "Html/HtmlEditCtrl2.h"
// CSendMailDlg dialog

class CSendMailDlg : public CDialog
{
	DECLARE_DYNAMIC(CSendMailDlg)

public:
	CSendMailDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CSendMailDlg();

// Dialog Data
	enum { IDD = IDD_DIALOG_EMAIL };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	afx_msg void OnSendMail();

	virtual BOOL OnInitDialog();

	DECLARE_MESSAGE_MAP()

	DECLARE_EVENTSINK_MAP()

public:
	afx_msg void OnNavigateCompleteToBrowser(LPDISPATCH pDisp, VARIANT FAR* URL);
	afx_msg void OnUnderline();
	afx_msg void OnInsertImage();
	afx_msg void OnItalic();
	afx_msg void OnBold();

	afx_msg void  OnUpdateFormatBold(CCmdUI* pCmdUI);
	afx_msg void  OnUpdateFormatDash(CCmdUI* pCmdUI);
	afx_msg void  OnUpdateFormatItalic(CCmdUI* pCmdUI);
	afx_msg void  OnUpdateFormatUnderline(CCmdUI* pCmdUI);

	 afx_msg LRESULT OnKickIdle(WPARAM, LPARAM);
public:
	CString m_sEmail;
	CString m_sPass;
	CString m_sRecieve;
	CString m_sPathAttachment;

	CHtmlEditCtrl2 m_ctrlWeb;
	CStatic m_ctrlToolBar;

	CToolBar  m_wndFormatBar;
};
